package yz.dut.edu.graduate.dao;

import org.springframework.stereotype.Repository;
import yz.dut.edu.graduate.pojo.History;

import java.util.List;
import java.util.Map;

@Repository
public interface HistoryMapper {
    int deleteByPrimaryKey(Integer hId);

    int insert(History record);

    int insertSelective(History record);

    History selectByPrimaryKey(Long hId);

    int updateByPrimaryKeySelective(History record);

    int updateByPrimaryKey(History record);

    List<History> selectPage();

    List<Map<String,Object>> customizedSql(String sql);
}